#pragma once
#include "stdafx.h"
#include "Flocking.h"
#include "BehaviorAnalysis.h"
#include "Configuration.h"
class Control
{
public:	
	Flock* flock;

	BehaviorAnalysis* analysis;

	Configuration configuration;

	int maxSteps;

	int nStep;

	bool renderingEnabled; //supposed to control openGL

public:
	Control();
	
	Control( Configuration& );

	~Control(); 

	bool initialize();

	void setConfiguration( Configuration& );

	void simulate( );
	
};